package com.yn.common.response.driver;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.yn.common.constants.Constants;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="车辆信息对象", description="返回车辆信息")
public class TCarManageResponse {

    @ApiModelProperty("车辆-司机主键id")
    private Integer id;

    @ApiModelProperty("车牌号")
    private String carNumber;

    /**
     * 行驶证
     */
    private String drivingLicense;
    /**
     * 驾驶证
     */
    private String driverLicense;

    @ApiModelProperty("保险证明")
    private String insuranceCertificate;

    @ApiModelProperty("区域编码")
    private String regionCode;

    @ApiModelProperty("车辆状态(0:空闲 1:运营中 2:停运)")
    private Integer carStatus;

    @ApiModelProperty("加入时间")
    @JsonFormat(pattern = Constants.DATE_FORMAT)
    private Date createTime;
}
